package com.woniuxy.credit_loans.product_liu.service;

import com.woniuxy.credit_loans.entity.Product;
import com.woniuxy.credit_loans.product_liu.dto.ProductDto;
import com.woniuxy.credit_loans.product_liu.vo.EchartsVo;
import com.woniuxy.credit_loans.product_liu.vo.ProductVo;

import java.util.List;

public interface ProductService {
    List<ProductVo> selectWaittingProduct();

    Product selectOne(Long productId);

    List<EchartsVo> classifyByType();

    List<ProductVo> selectByExport(ProductDto productDto);

    List<ProductVo> selectByLike(Product product);

    List<ProductVo> selectCompanyProduct();

    List<ProductVo> selectPersonProduct();

    List<ProductVo> selectAllProduct();

    int deleteByPrimaryKey(Long id);

    int insertSelective(Product record);

    Product selectByPrimaryKey(int id);

    int updateByPrimaryKeySelective(Product record);

}
